	<!--  CONTENT SECTION BEGINS HERE-->
<?php
if(sizeof($this->schedulesData)==0):
	echo "<h2><center>No users currently scheduled for ".$this->currentDate."</center></h2>";
else:?>
	
	<h2>Schedules for <?php echo $this->currentDate;?></h2> 
				
		<!--TABLE FOR SCHEDULES FOR DAY-->	
	   <div class="table"> <img src="../images/bg-th-left.gif" width="8" height="7" alt="" class="left" /> 
							<img src="../images/bg-th-right.gif" width="7" height="7" alt="" class="right" />
			<table class="listing" cellpadding="0" cellspacing="0">
			  <tr>
				<th class="first" width="100">Username</th>
				<th width="200">Name</th>
				<th width="100">Shift</th>
				<th width="100">Start Time</th> 
			  </tr>	
			  
			<?php

			for($i=0;$i <= sizeof($this->schedulesData)-1;$i++):
				$trClassEnabled= '';
				if(($i % 2)==0)
					$trClassEnabled = 'class="bg"';
				echo "<tr ".$trClassEnabled.">\n";
					echo "<td class='first style2'>".$this->schedulesData[$i][0]."</td>\n";
					echo "<td>".$this->schedulesData[$i][1]."</td>\n";
					echo "<td>".$this->schedulesData[$i][2]."</td>\n";
					echo "<td class='last'>".$this->schedulesData[$i][3]."</td>\n";
				  
				echo "</tr>\n";
			
			
			endfor;

			?>
        </table>
      </div>		
	
	<h2>Stats Summary for <?php echo $this->currentDate;?></h2> 
				
		<!--TABLE FOR STATS SUMMARY FOR DAY-->	
	   <div class="table"> <img src="../images/bg-th-left.gif" width="8" height="7" alt="" class="left" /> 
							<img src="../images/bg-th-right.gif" width="7" height="7" alt="" class="right" />
			<table class="listing" cellpadding="0" cellspacing="0">
			  <tr>
				<th class="first" width="100">Schedule</th>
				<th width="100">Users Assigned</th>
			  </tr>	
			  
			<?php

			for($i=0;$i <= sizeof($this->schedulesData)-1;$i++):
				$trClassEnabled= '';
				if(($i % 2)==0)
					$trClassEnabled = 'class="bg"';
				echo "<tr ".$trClassEnabled.">\n";
					echo "<td class='first style2'>".$this->schedulesData[$i][0]."</td>\n";
					echo "<td class='last'>".$this->schedulesData[$i][3]."</td>\n";
				  
				echo "</tr>\n";
			
			
			endfor;

			?>
        </table>
      </div>		
<?php
endif;
?>		
		
		  
	  
	<!-- YOUR CONTENT SECTION ENDS HERE-->

